CC:=gcc
CFLAGS:=-lpthread
TARGET:=ShareMem

${TARGET} : parent.c child.c
	mkdir build
	${CC} -o parent parent.c ${CFLAGS}
	${CC} -o child child.c ${CFLAGS}
clean:
	rm -rf parent child